package com.ycz.springcloud.service.impl;/*
 @author ycz
 @date 2021-08-24-21:19  
*/

import com.ycz.springcloud.common.Result;
import com.ycz.springcloud.form.BusCustomerForm;
import com.ycz.springcloud.mapper.BusCustomerMapper;
import com.ycz.springcloud.query.BusCustomerQuery;
import com.ycz.springcloud.service.BusCustomerService;
import com.ycz.springcloud.vo.BusCustomerVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

@Service
public class BusCustomerServiceImpl implements BusCustomerService {

    @Autowired
    private BusCustomerMapper busCustomerMapper;
    @Override
    public List<BusCustomerVo> selectCustomList(BusCustomerQuery query) {
       return busCustomerMapper.selectCustomList(query);
    }

    @Override
    public Result updateCustomer(BusCustomerForm busCustomerForm) {
        return null;
    }

    @Override
    public Result addCustomer(BusCustomerForm busCustomerForm) {
        return null;
    }

    @Override
    public Result deleteCustomer(Integer id) {
        return null;
    }

    @Override
    public void exportCustomer(BusCustomerQuery query, HttpServletResponse response) throws IOException {

    }

    @Override
    public Result batchAddCustomer(MultipartFile file) throws IOException {
        return null;
    }

    @Override
    public Integer selectCount(BusCustomerQuery query) {
        return busCustomerMapper.selectCount(query);
    }
}
